# -*- coding: utf-8 -*-
from odoo import http

# class Cmdb(http.Controller):
#     @http.route('/cmdb/cmdb/', auth='public')
#     def index(self, **kw):
#         return "Hello, world"

#     @http.route('/cmdb/cmdb/objects/', auth='public')
#     def list(self, **kw):
#         return http.request.render('cmdb.listing', {
#             'root': '/cmdb/cmdb',
#             'objects': http.request.env['cmdb.cmdb'].search([]),
#         })

#     @http.route('/cmdb/cmdb/objects/<model("cmdb.cmdb"):obj>/', auth='public')
#     def object(self, obj, **kw):
#         return http.request.render('cmdb.object', {
#             'object': obj
#         })